/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconUpload = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M971.369 603.544c-21.775 0-39.49 17.721-39.49 39.503v222.48h-837.937v-222.48c0-21.782-17.711-39.503-39.479-39.503-21.788 0-39.513 17.721-39.513 39.503v261.969c0 21.782 17.725 39.502 39.513 39.502h916.908c21.782 0 39.502-17.72 39.502-39.502v-261.969c0-21.782-17.719-39.503-39.502-39.503z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M349.925 354.937c10.595 0 20.546-4.151 28.023-11.688l0.215-0.218 95.268-115.423v448.123c0 21.808 17.711 39.55 39.479 39.55 21.782 0 39.502-17.742 39.502-39.55v-449.38l96.484 116.904c7.488 7.534 17.442 11.683 28.028 11.683s20.539-4.151 28.008-11.675c15.378-15.42 15.454-40.463 0.234-55.982l-162.061-196.446c-7.333-7.321-17.219-11.353-27.832-11.353-0.614 0-1.229 0.012-1.843 0.043-11.278-0.492-21.95 3.572-29.673 11.325l-0.222 0.222-161.851 196.209c-15.233 15.522-15.154 40.565 0.22 55.971 7.475 7.537 17.428 11.688 28.022 11.688z"
        fill={getIconColor(color, 1, '#333333')}
      />
    </Svg>
  );
};

IconUpload.defaultProps = {
  size: 18,
};

IconUpload = React.memo ? React.memo(IconUpload) : IconUpload;

export default IconUpload;
